cmake_minimum_required(VERSION 3.9)
set(CMAKE_C_STANDARD 99)

project(hex C)
add_executable(hex hex.c hex.h)

project(md5 C)
add_executable(md5 md5.c md5.h hex.c hex.h)
target_link_libraries(md5 libssl.so)
target_link_libraries(md5 libcrypto.so)

project(base64 C)
add_executable(base64 base64.c base64.h)
target_link_libraries(base64 libssl.so)
target_link_libraries(base64 libcrypto.so)



project(triple_des C)
add_executable(triple_des triple_des.c triple_des.h)
target_link_libraries(triple_des libssl.so)
target_link_libraries(triple_des libcrypto.so)

#
#project(sm C)
#add_executable(sm sm.c sm.h)
